home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 03 Demos and Info / 1764TS.TXT < prev    next >
Encoding:
Text File  |  2019-04-13  |  2.2 KB  |  27 lines

  1. This file will instruct you on how to modify the 1764 RAMTEST program to test all 512K of your REU.  This, of course, would only apply if you have added the additional 256K to the 1764.  Please read 1764.TXT in this library for instructions on that procedure.
  2.  
  3. First, "1764 RAMTEST.BAS" is a BASIC loader for the program "1764 RAMTEST.BIN" which is a machine language program that does the actual testing of the REU.  Second, I will outline three methods of modifying your program to test the entire 512K.
  4.  
  5. METHOD ONE - Load the program "1764 RAMTEST.BAS".  List the program and look at line 500 on up.  Make the following changes to your program:
  6.  
  7.      500 :
  8.      510 REM LINES 520 AND 530 TEST 512K
  9.      520 POKE 33093,7:POKE 33099,33
  10.      530 POKE 36003,53:POKE 36004,49:POKE 36005,50
  11.      540 :
  12.      1000 SYS 32768:  REM  WE WON'T BE COMING BACK!
  13.  
  14. Then save this new program back to disk by first scratching the old program and then saving the new.  This modification merely pokes new values to the mentioned memory locations after the program "1764 RAMTEST.BIN" has been loaded into memory at location 32768.  The ramtest program will now test a     eight banks of memory.
  15.  
  16. METHOD TWO - Using a Disk Editor program (such as Di-Sector) load Track 20, Sector 6 (the 2nd sector of the program) of "1764 RAMTEST.BIN".  Change relative byte 75 from $03 to $07.  Change relative byte 81 from $11 to $21.  Then write this sector back to disk.  Now load Track 20, Sector 15 (the 13th sector of the program) of the same program.  Change relative bytes 191, 192 and 193 from $32 to $35, $35 to $31 and $36 to $32, respectively.  Write this sector back to disk.  There i    no need for the revised pokes in the BASIC loader program if you use this method.  I feel this is a better way to modify this program.
  17.  
  18. METHOD THREE - Using an Assembler/Monitor load "1764 RAMTEST.BIN" at location 32768.  Then change memory locations as follows:
  19.      POKE 33093 with $07
  20.      POKE 33099 with $21
  21.      POKE 36003 with $35
  22.      POKE 36004 with $31
  23.      POKE 36005 with $32
  24. Then save this program back to disk.
  25.  
  26. Whichever method you use is your choice.  All three will provide you with the means      test all 512K of your expanded 1764 REU.  Good luck!
  27.